From 3732520993e8e5e24e3d55f3a6486c5c872611fc Mon Sep 17 00:00:00 2001 From: "emellor@leeni.uk.xensource.com" Date: Fri, 9 Dec 2005 10:51:20 +0000 Subject: [PATCH] Use new do_without_error function to squelch the error when closing down the interface. Signed-off-by: Ewan Mellor --- tools/examples/vif-nat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/examples/vif-nat b/tools/examples/vif-nat index 896f5961d1..9ce79f0434 100644 --- a/tools/examples/vif-nat +++ b/tools/examples/vif-nat @@ -155,7 +155,7 @@ case "$command" in ;; offline) [ "$dhcp" != 'no' ] && dhcp_down - ifconfig "$vif" down || true + do_without_error ifconfig "$vif" down ;; esac -- 2.30.2